<template>
  <div>
    <ul>
      <li v-for="(item, index) in crr" :key="index">{{ item }}</li>
    </ul>
    <button @click="btn">点击获取新数组</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      brr: [1, 0, 2, 0, 0, 0, 5],
      crr: [],
    };
  },
  methods: {
      btn(){
  this.crr=  this.brr.map(item =>item=item*2)

      }
  },
};
</script>

<style>
</style>